const http = require("./http");
class tripHttp extends http{
  static getTripHttp(skip){
    return this.request(`/api/trip/trip?skip=${skip}&limit=10`);
  }
  static getTripDetailHttp(id){
    return this.request(`/api/trip/detail/${id}`);
  }
  static getSearchTripHttp(){
    return this.request(`/api/trip/trip`);
  }
}
module.exports = tripHttp;